﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Software.aspx.cs" Inherits="Software_Software" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div>
        <asp:LinkButton ID="linkAsset" runat="server" Font-Size="Small">Assets</asp:LinkButton>
        &nbsp;
        <asp:Label ID="Label7" runat="server" Text=" > " Font-Size="Small"></asp:Label>
        &nbsp;
        <asp:LinkButton ID="LinkButton6" runat="server" Text="Software()"
            Font-Size="Small"></asp:LinkButton>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" Runat="Server">
    
    <asp:Button ID="Button2" runat="server" Text="Do Maintenance"  class="google-button-blue"
        style="width:150px; margin-top:2%; margin-right:5%; height:30px; float:right" />
        
    <div style="background-color:White; padding:2.5%">
        <asp:Label ID="lbAssetHeading" runat="server" Text="Software Asset" Font-Bold="True" 
            Font-Size="X-Large"></asp:Label>
            <br /><br />

    <asp:Table ID="Table1" runat="server" CellPadding="1" 
            CellSpacing="0">
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbSoftwareID" runat="server" Text="Software ID: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtSoftwareID" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbSoftwareName" runat="server" Text="Software Name: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtSoftwareName" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbBrandName" runat="server" Text="Brand Name: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtBrandName" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbSerial" runat="server" Text="Serial: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtSerial" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbUsageTerms" runat="server" Text="Usage Terms: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtUsageTerms" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbWarranty" runat="server" Text="Warranty: "></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <%--<asp:TextBox ID="txtWarranty" runat="server" BorderStyle="None" ReadOnly="True"></asp:TextBox>--%>
                <asp:LinkButton ID="linkWarranty" runat="server" OnClick="WarrantyLinkButton_Click">Valid</asp:LinkButton>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
            
            </asp:TableCell>
            <asp:TableCell>
                    <asp:Button ID="btnDelete" runat="server" Text="Delete Software" class="button" 
                    style="width:150px; top: 0px; left: 0px;" 
                        OnClientClick="return confirm('Are you sure you want to delete this item?');" 
                        onclick="btnDelete_Click" />
            </asp:TableCell>
        </asp:TableRow>


    </asp:Table>
    
    <br />
    
        <asp:Label ID="Label1" runat="server" Text="Installed Software:"></asp:Label>
        <asp:GridView ID="installedSoftwareGridView" runat="server" 
            AutoGenerateSelectButton="True" 
            onrowcreated="installedSoftwareGridView_RowCreated" 
            onselectedindexchanging="installedSoftwareGridView_SelectedIndexChanging" 
            CellPadding="3" Font-Size="Small">
        </asp:GridView>



        <br /><br /><br />
    </div>








</asp:Content>

